package com.wondedDream.service;

import com.wondedDream.model.MockExamQuestion;
import com.wondedDream.model.UserMockExamQuestionRecord;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserMockExamQuestionRecordService {
    UserMockExamQuestionRecord saveUserMockExamQuestionRecord(UserMockExamQuestionRecord record);
    UserMockExamQuestionRecord getUserMockExamQuestionRecordById(Integer recordId);
    List<UserMockExamQuestionRecord> getUserMockExamQuestionRecordsByUserMockExamRecord(Integer userMockExamRecordId);
    List<UserMockExamQuestionRecord> getUserMockExamQuestionRecordsByMockExamQuestion(String mockExamQuestionId);
    List<UserMockExamQuestionRecord> getAllUserMockExamQuestionRecords();
    void deleteUserMockExamQuestionRecord(Integer recordId);

    List<MockExamQuestion>  getUserMockExamQuestionRecordByIdAndOpenid(Integer userMockExamRecordId, String userOpenId);

    List<MockExamQuestion> getUserErrorMockExamQuestionRecordByIdAndOpenid(Integer userMockExamRecordId, String userOpenId);
}